import React, { PropTypes } from 'react';
import TweenOne from 'rc-tween-one';

import {Icon,Tabs, Switch, Popover, Button, Modal, Form, Input, message, Row, Col, DatePicker, Cascader,Upload,} from 'antd';
const FormItem = Form.Item;
const TabPane = Tabs.TabPane;

import '../../less/memberAdd.less';

import BaseInfo from './BaseInfo';
import ShopsDescribe from './ShopsDescribe';
import ShopsReview from './ShopsReview';
import AccountInfo from './AccountInfo';

class ShopsAdd extends React.Component {
  constructor(props){
    super(props);
    this.state = {

    }
  }

  componentDidMount(){

  }

  render() {
    return (
      <div className="memPanel">
        <div className="memPanelHead">
            新增商家会员
        </div>
        <Tabs defaultActiveKey="1">
          <TabPane tab="基本信息" key="1">
              <BaseInfo />
          </TabPane>
          <TabPane tab="往来业绩描述" key="2">
              <ShopsDescribe />
          </TabPane>
          <TabPane tab="往来综合评审" key="3">
              <ShopsReview />
          </TabPane>
          <TabPane tab="会员卡" key="4">

          </TabPane>
          <TabPane tab="账号信息" key="5">
              <AccountInfo />
          </TabPane>
        </Tabs>
      </div>
    )
  }
}

ShopsAdd = Form.create()(ShopsAdd);

export default ShopsAdd;
